Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body style="font-size:16px"> <p>The code element does not preserve whitespace and line-breaks.</p> <p>To fix this, you must wrap the code in a pre element:</p> <code> <pre> var person = { firstName:"John", lastName:"Doe", age:50, eyeColor:"blue" } </pre> </code> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_formatting_codepre by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:20:03 GMT --> </html>
Result:
Try it Yourself - © w3schools.com